package com.cclinux.projects.actcampus.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cclinux.framework.core.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Notes: 活动报名实体
 * @Author: cclinux0730 (weixin)
 * @Date: 2024/11/30 7:18
 * @Ver: ccminicloud-framework 3.2.1
 */

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("actcampus_activity_class")
public class ActivityClassModel extends BaseModel {
    /**
     * 状态
     */
    public static final class STATUS {
        // 1有效，2删除
        public static final int VALID = 1;
        public static final int DEL = 2;
    }

    public static final class CLASS_TYPE {
        // 1自费课程，2免费赠送课程
        public static final int CHARGE = 1;
        public static final int FREE = 2;
    }


    @TableId(value = "ACTIVITY_CLASS_ID", type = IdType.AUTO)
    private Long activityClassId;



    @TableField("ACTIVITY_CLASS_TITLE")
    private String activityClassTitle;

    @TableField("ACTIVITY_CLASS_CONTENT")
    private String activityClassContent;

    // 1有效，2删除
    @TableField("ACTIVITY_JOIN_STATUS")
    private int activityJoinStatus;

    // 1自费课程，2免费赠送课程
    @TableField("ACTIVITY_CLASS_TYPE")
    private int activityClassType;

    // 课程所属学校
    @TableField("ACTIVITY_SCHOOL")
    private String activitySchool;

    @TableField("LESSON_TIME")
    private String lessonTime;

}
